x86/vvmx: don't enable interrupt window when using virt intr delivery
authorRoger Pau Monné <roger.pau@citrix.com>
Wed, 5 Feb 2020 12:50:46 +0000 (13:50 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 5 Feb 2020 12:50:46 +0000 (13:50 +0100)
commit67f9d0b95ae2cd441bc003e03ae69a487f7b40bb
tree461e16392802e60d4c5a5794b3fc319788d5839d
parenta8effbffe586f020e2db400e2c25ae52e36cc1bd
x86/vvmx: don't enable interrupt window when using virt intr delivery

If virtual interrupt delivery is used to inject the interrupt to the
guest the interrupt window shouldn't be enabled, as the interrupt is
already injected using the GUEST_INTR_STATUS vmcs field.

Reported-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/hvm/vmx/intr.c